package com.study.app.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.study.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = true)
@TableName("vehicle_sharing")
public class AppVehicleSharing extends BaseEntity {

    private static final long serialVersionUID=1L;
    public static final int UNCONFIRMED = 0;
    public static final int SHARED = 1;
    /**
     * 分享ID
     */
    @TableId(value = "id")
    private Long id;
    /**
     * 车辆编码
     */
    private String vehicleCode;
    /**
     * 受邀人code
     */
    private String inviteeCode;
    /**
     * 受邀人身份备注
     */
    private String inviteeRemark;
    /**
     * 设备型号
     */
    private String deviceModel;
    /**
     * 是否活跃车辆(0否，1是)
     */
    private Integer isActive;
    /**
     * 当前分享状态(0未确认，1已分享)
     */
    private Integer sharingState;
    /**
     * 车主是否禁用行程轨迹查看(0否，1是)
     */
    private Integer isstudyTrack;
    /**
     * 车主是否禁用告警同步推送给受邀人(0否,1是)
     */
    private Integer isSecurityTrack;
    /**
     * 分享时间
     */
    private Date sharingTime;

}
